package com.osdp.uc.vo;

import com.osdp.common.annotation.Dict;
import com.osdp.common.base.BaseVo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecgframework.poi.excel.annotation.Excel;

/**
 * <p>
 * 部门表
 * <p>
 * 
 * @Author Steve
 * @Since  2019-01-22
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)//chain的中文含义是链式的，设置为true，则setter方法返回当前对象
@ApiModel("部门信息")
public class UcDepartVo extends BaseVo {
    private static final long serialVersionUID = 1L;

	/**父部门ID*/
	private String parentId;
	/**部门名称*/
	@ApiModelProperty(value = "部门名称")
	@Excel(name="部门名称",width=15)
	private String departName;
	/**英文名*/
	@ApiModelProperty(value = "英文名")
	@Excel(name="英文名",width=15)
	private String departNameEn;
	/**缩写*/
	@ApiModelProperty(value = "缩写")
	private String departNameAbbr;
	/**排序*/
	@ApiModelProperty(value = "排序")
	@Excel(name="排序",width=15)
	private Integer sortNo;
	/**描述*/
	@ApiModelProperty(value = "描述")
	@Excel(name="描述",width=15)
	private Object description;
	/**部门类型*/
//	@ApiModelProperty(value = "部门类型")
//	@Excel(name="部门类型",width=15)
//	private String orgType;
	/**机构编码*/
//	@ApiModelProperty(value = "部门编码")
//	@Excel(name="部门编码",width=15)
//	private String orgCode;
	/**手机号*/
	@ApiModelProperty(value = "手机号")
	@Excel(name="手机号",width=15)
	private String phone;
	/**传真*/
	@ApiModelProperty(value = "传真")
	@Excel(name="传真",width=15)
	private String fax;
	/**地址*/
	@ApiModelProperty(value = "地址")
	@Excel(name="地址",width=15)
	private String address;
	/**状态（1启用，0不启用）*/
	@ApiModelProperty(value = "状态（1启用，0不启用）")
	@Excel(name="状态",width=15)
	@Dict(dicCode = "validation")
	private String validation;

//	private String unitIdPath;

//	private String unitPath;

//	@Excel(name = "删除状态（0，正常，1已删除）", width = 15)
//	@ApiModelProperty(value = "删除状态（0，正常，1已删除）")
//	@TableLogic
//	private Integer delFlag;
	/**
	 * 判断是否删除
	 *
	 * @return
	 */
//	public boolean deleted() {
//		return delFlag == CommonConstant.FLAG_ONE_1;
//	}

}
